API Reference > OdGe Classes > OdGeScale2d Class > OdGeScale2d Operators > [] Operator > OdGeScale2d::[] Operator (unsigned int)
OdGeScale2d::[] Operator (unsigned int)
Syntax
C++
double& operator [](unsigned int i);
Parameters 
Description 
unsigned int i 
[in] Index of component. 

  • if the passed index is 0 - references the X scale factor.
  • if the passed index is 1 - references the Y scale factor.

References the ith component of the scale vector. 

 

Copyright © 2002–2022. Open Design Alliance. All rights reserved.